#include <stdio.h>  
  
int main() {  
    int num1, num2;  
    char opt;  
    if (scanf("%d%c%d", &num1, &opt, &num2));  
    switch (opt) {  
        case '+':  
            printf("%d\n", num1 + num2);  
            break;  
        case '-':  
            printf("%d\n", num1 - num2);  
            break;  
        case '*':  
            printf("%d\n", num1 * num2);  
            break;  
        case '/':  
            printf("%d\n", num1 / num2);  
            break;  
        case '%':  
            printf("%d\n", num1 % num2);  
            break;  
    }  
    return 0;  
}  